# read -p "Enter the IP address of the host machine: " hostname
read -p "Enter the MySQL username: " username
read -p "Comment information: " comment

timestamp=$(date +"%Y-%m-%d_%H-%M-%S")

mysqldump -h "localhost" -u "$username" -p --databases "petstore" > "petstore_${timestamp}_${comment}.sql"